home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 2010 April
/
PCWorld0410.iso
/
pluginy Firefox
/
2410
/
2410.xpi
/
chrome
/
content
/
foxmarks-clobber.js
< prev
next >
Wrap
Text File
|
2010-01-28
|
742b
|
38 lines
/*
Copyright 2007 Foxmarks Inc.
foxmarks-clobber.js: handles the UI for the Clobber dialog.
*/
function onClobberLoad()
{
window.arguments[0].okay = true;
document.getElementById("lastset").setAttribute("value",
window.arguments[2]);
document.getElementById("currset").setAttribute("value",
window.arguments[1]);
return true;
}
function onClobberOK()
{
window.arguments[0].okay = true;
return true;
}
function onClobberCancel()
{
window.arguments[0].okay = false;
return true;
}
function onClobberHelp(url)
{
window.openDialog("chrome://browser/content/browser.xul",
"_blank", "chrome,all,dialog=no", url);
return false;
}